package com.qf.advice;

import org.springframework.aop.ThrowsAdvice;

/**
 * @ClassName testThrowAdvice
 * @Author xiao宋
 * @Date 21:22  2022/9/27
 * @Version 1.0
 * @Description TODO
 */
public class testThrowAdvice implements ThrowsAdvice {

    public void afterThrowing(Exception e){
        e.printStackTrace();
        System.out.println("出错了");
    }
}
